#include "UploadDMFOperator.h"
#include "StdAfx.h"
#include "dmResourceManageAddIn.h"
#include "UploadDmfdlg.h"
CUploadDMFOperator::CUploadDMFOperator(HDiMineView* view,IDMAddIn *addin):CAddInBaseOperator(view,addin)
{

}


CUploadDMFOperator::~CUploadDMFOperator(void)
{
	
}



int CUploadDMFOperator::Init()
{
	AFX_MANAGE_STATE(AfxGetStaticModuleState());
	//CUploadDmfdlg m_pUploadDMF;
	((CdmResourceManageAddIn*)GetIDMAddIn())->m_Application->SetUserDialog(GetIDMAddIn(),(long)&m_pUploadDMF,IDD_DIALOG_UPLOADdmf);	
	return 1;
}
